import { createApp } from 'vue';
import App from './App.vue';

// element-ui
import ElementPlus, { ElMessage } from 'element-plus';
import 'element-plus/lib/theme-chalk/index.css';
import locale from 'element-plus/lib/locale/lang/zh-cn'; //中文

const app = createApp(App);
// 全局挂载
app.config.globalProperties.$message = ElMessage;

app.use(ElementPlus, { size: 'small', locale }).mount('#app');
